package com.hcb.micro.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.AccountOpenidMapper;
import com.hcb.micro.dto.AccountOpenid;
import com.hcb.micro.service.IAccountOpenidService;

@Service("AccountOpenidService")
public class AccountOpenidServiceImpl implements IAccountOpenidService {

	@Autowired
	AccountOpenidMapper accountOpenidMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return accountOpenidMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(AccountOpenid record) {
		return accountOpenidMapper.insert(record);
	}

	@Override
	public int insertSelective(AccountOpenid record) {
		return accountOpenidMapper.insertSelective(record);
	}

	@Override
	public AccountOpenid selectByPrimaryKey(Integer id) {
		return accountOpenidMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(AccountOpenid record) {
		return accountOpenidMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(AccountOpenid record) {
		return accountOpenidMapper.updateByPrimaryKey(record);
	}

	@Override
	public AccountOpenid selectByAccountId(Integer accountId) {
		return accountOpenidMapper.selectByAccountId(accountId);
	}

}
